<!DOCTYPE html>
<html>
<head>
  <title>预防针预约系统</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
  <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
  <style>
    /* Make the image fully responsive */
    .carousel-inner img {
        width: 100%;
        height: 100%;
    }
    </style>
</head>
<body style="background-color: rgb(128, 230, 128);">

    <nav class="navbar navbar-expand-md bg-success navbar-dark fixed-top">
        <a class="navbar-brand" href="{:url('home/index')}">首页</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="collapsibleNavbar">
            <ul class="navbar-nav justify-content-center">
                <!-- <li class="nav-item">
                  <a class="navbar-brand" href="#">首页</a>
                </li> -->
                <li class="nav-item">
                    <a class="navbar-brand" href="{:url('appointment/index')}">进行预约</a>
                  </li>
                  <li class="nav-item">
                    <a class="navbar-brand" href="{:url('progress/index')}">预约进度</a>
                  </li>
                  <li class="nav-item">
                    <a class="navbar-brand" href="{:url('me/index')}">个人中心</a>
                  </li>
                  <li class="nav-item">
                    <a class="navbar-brand" href="{:url('index/logout')}">注销</a>
                  </li>
            </ul>
        </div>
    </nav>
<div class="container" style="margin-top:65px;padding: 0 0;">
    <div class="container" style="padding: 0 0;">
            <div class="card" style="margin-top: 10vh;">
                <div class="card-header">修改预约信息</div>
                <div class="card-body">
                    <form action="{:url('appointment/appointment2',['id' => $id])}" method="POST">
                        <div class="form-group">
                            <label for="usr">选择孩子:</label>
                            <select class="form-control" id="sel1" name="child_id"  required>
                                <option value="{$aa.child_id}">{$aa.child_name}</option>
                                {volist name="res1" id="vo"}
                                <option value="{$vo.child_id}">{$vo.child_name}</option>
                                {/volist}
                              </select>
                        </div>
                        <div class="form-group">
                            <label for="yiyuan">选择疫苗:</label>
                            <select class="form-control" id="sel1" name="vaccine_id" required>
                                <option value="{$aa.vaccine_id}">{$aa.vaccine_name}</option>
                                {volist name="res2" id="vo"}
                                <option value="{$vo.vaccine_id}">{$vo.vaccine_name}</option>
                                {/volist}
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="yiyuan">选择地点:</label>
                            <select class="form-control" id="sel1" name="hospital_id" required>
                                <option value="{$aa.hospital_id}">{$aa.hospital_name}</option>
                                {volist name="res3" id="vo"}
                                <option value="{$vo.hospital_id}">{$vo.hospital_name}</option>
                                {/volist}
                             </select>
                        </div>
                        <div class="form-group">
                            <label for="yiyuan">选择日期:</label>
                            <input type="date" class="form-control" id="pwd" name="begin_time" required>
                        </div>
                        <!-- <div class="d-flex justify-content-end  mb-1">
                            <div class="p-1"> -->
                                <button type="submit" class="btn btn-success btn-sm" style="width: 100%;">提交</button>
                            <!-- </div>
                        </div> -->
                    </form>
                </div>
            </div>
        </div>
</div>
<div class="bg-light fixed-bottom " style="margin-bottom:0;padding: 0 0;">
    <div>
        <p class="text-center">@2020-tch</p>
    </div>
</div>
</body>
<script>
    
</script>
</html>